package com.eastmoney.emis.edda.infrastructure.util;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class CsvUtils {

    public static List<String> parse(byte[] in) {
        String[] dataArray = new String(in).split("\\R");
        return Stream.of(dataArray).collect(Collectors.toList());
    }
}
